package com.financial.service.heemoney.dto.commmon;

/**
 * @api {post}
 * @apiExample author zhaopengjun
 * tar
 * date   2019/12/3 23:22
 * @apiGroup
 * @apiVersion 1.0.0
 * @apiHeader
 * @apiParam
 * @apiSuccess
 */
public class HeemoneyPayQueryCommonDTO extends BaseHeemoneyCommonDTO{

    /**
     * 商户统一编号
     */
    private String mch_uid;
    /**
     * 具体业务接口名称
     */
    private String app_id;

    public String getMch_uid() {
        return mch_uid;
    }

    public void setMch_uid(String mch_uid) {
        this.mch_uid = mch_uid;
    }

    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    @Override
    public String signStr() {
        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append("app_id").append("=").append(app_id)
                .append("&").append("biz_content").append("=").append(getBiz_content())
                .append("&").append("charset").append("=").append(getCharset())
                .append("&").append("mch_uid").append("=").append(mch_uid)
                .append("&").append("method").append("=").append(getMethod())
                .append("&").append("sign_type").append("=").append(getSign_type())
                .append("&").append("timestamp").append("=").append(getTimestamp())
                .append("&").append("version").append("=").append(getVersion())
                .append("&").append("key").append("=").append(getKey());
        return stringBuffer.toString();    }
}
